#!/bin/bash

sum_func ()
{
	sum=$[$1+$2]
	echo $sum
}

read -p "请输入第一个数值：" n1
read -p "请输入第二个数值：" n2

sum_func $n1 $n2
sum_func 3 5

